import * as actionType from '../const/userinfo'

const initState = {};

export default function userInfoReducer(state = initState, action) {
  switch(action.type) {
  case actionType.USERINFO_UPDATE:
    return action.data;
  default: return state;
  }
}
